home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / ocxreg / form1.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1998-08-03  |  3.3 KB  |  109 lines

  1. VERSION 5.00
  2. Object = "{338F8051-2A48-11D2-A504-B04F7BC18D07}#4.0#0"; "FSAniIcon.ocx"
  3. Begin VB.Form Form1 
  4.    BorderStyle     =   4  'Fixed ToolWindow
  5.    Caption         =   "FS AnimIcon"
  6.    ClientHeight    =   1395
  7.    ClientLeft      =   45
  8.    ClientTop       =   285
  9.    ClientWidth     =   2115
  10.    LinkTopic       =   "Form1"
  11.    MaxButton       =   0   'False
  12.    MinButton       =   0   'False
  13.    ScaleHeight     =   1395
  14.    ScaleWidth      =   2115
  15.    ShowInTaskbar   =   0   'False
  16.    StartUpPosition =   1  'CenterOwner
  17.    Begin VB.TextBox Text2 
  18.       Alignment       =   2  'Center
  19.       Height          =   285
  20.       Left            =   0
  21.       TabIndex        =   5
  22.       Text            =   "Display Mouse Button Click"
  23.       Top             =   1080
  24.       Width           =   2115
  25.    End
  26.    Begin VB.CheckBox Check2 
  27.       Caption         =   "Show Icon"
  28.       Height          =   195
  29.       Left            =   240
  30.       TabIndex        =   4
  31.       Top             =   120
  32.       Width           =   1095
  33.    End
  34.    Begin VB.TextBox Text1 
  35.       Height          =   285
  36.       Left            =   60
  37.       TabIndex        =   2
  38.       Top             =   720
  39.       Width           =   615
  40.    End
  41.    Begin VB.CheckBox Check1 
  42.       Caption         =   "Animated"
  43.       Height          =   195
  44.       Left            =   240
  45.       TabIndex        =   1
  46.       Top             =   420
  47.       Width           =   1035
  48.    End
  49.    Begin FSAniIcon.FSAnimIcon FSAnimIcon1 
  50.       Height          =   510
  51.       Left            =   1500
  52.       TabIndex        =   0
  53.       Top             =   120
  54.       Width           =   510
  55.       _ExtentX        =   900
  56.       _ExtentY        =   900
  57.       IconToolTipText =   "Fantastic Animated Icons"
  58.       AnimationRate   =   30
  59.       Frames          =   12
  60.       IconFilename    =   "F:\VB5\!me\FS\FS AnimIcon\Anims\SpinningCD.1.ico"
  61.    End
  62.    Begin VB.Label Label1 
  63.       Caption         =   "Animation Speed"
  64.       Height          =   195
  65.       Left            =   780
  66.       TabIndex        =   3
  67.       Top             =   780
  68.       Width           =   1215
  69.    End
  70. Attribute VB_Name = "Form1"
  71. Attribute VB_GlobalNameSpace = False
  72. Attribute VB_Creatable = False
  73. Attribute VB_PredeclaredId = True
  74. Attribute VB_Exposed = False
  75. Private Sub Check1_Click()
  76. FSAnimIcon1.Animated = Check1.Value
  77. End Sub
  78. Private Sub Check2_Click()
  79. FSAnimIcon1.TaskBarIcon = Check2.Value
  80. End Sub
  81. Private Sub Form_Load()
  82. Text1.Text = FSAnimIcon1.AnimationRate
  83. End Sub
  84. Private Sub FSAnimIcon1_LMDClick()
  85. Text2.Text = "Double Left Click"
  86. End Sub
  87. Private Sub FSAnimIcon1_LMDown()
  88. Text2.Text = "Left Button Down"
  89. End Sub
  90. Private Sub FSAnimIcon1_LMUp()
  91. Text2.Text = "Left Button Up"
  92. End Sub
  93. Private Sub FSAnimIcon1_RMDClick()
  94. Text2.Text = "Right Double Click"
  95. End Sub
  96. Private Sub FSAnimIcon1_RMDown()
  97. Text2.Text = "Right Button Down"
  98. End Sub
  99. Private Sub FSAnimIcon1_RMUp()
  100. Text2.Text = "Right Button Up"
  101. End Sub
  102. Private Sub Text1_Change()
  103. If Len(Text1.Text) <> 0 Then FSAnimIcon1.AnimationRate = Text1.Text
  104. End Sub
  105. Private Sub Text1_KeyPress(KeyAscii As Integer)
  106. ' Place This In Any TextBox.KeyPress Property
  107. If InStr("0123456789", Chr$(KeyAscii)) = 0 And KeyAscii > 31 Then KeyAscii = 0
  108. End Sub
  109.